package com.cg.service.impl;

import com.cg.entity.Country;
import com.cg.dao.CountryMapper;
import com.cg.service.CountryService;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * (Country)表服务实现类
 *
 * @author chengong
 * @since 2024-01-03 16:54:45
 */
@Service("countryService")
public class CountryServiceImpl implements CountryService {
    @Resource
    private CountryMapper countryMapper;


    /**
     * 加载所有国家
     */
    @Override
    public List<Country> queryCountryList() {
        return countryMapper.queryCountryList();
    }
}
